﻿#include "scriptwizard.h"


void* GetNewComponent()
{
    return new ScriptWizard();
}

const char* GetComponentName()
{
    return QStringLiteral("脚本行家").toUtf8().data();
}

const char* GetComponentDescription()
{
    QString strDes = "";
    strDes += QStringLiteral("脚本集合运行程序");
    strDes += "\n";
    return strDes.toUtf8().data();
}

ScriptWizard::ScriptWizard()
{
    m_manager = new ScriptManager();
}

void ScriptWizard::Excute(const char* content)
{
    m_manager->show();
}
